<!--编辑友情链接分类-->
<div class="dialog_content">
	<form id="info_form" name="info_form" action="{:url('LinkmenuCate/editDo')}" method="post">
	<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
		<tr>
			<th width="80">菜单名称 :</th>
			<td><input type="text" name="title" id="name" class="input-text" value="{$info.title}"></td>
		</tr>
		<tr>
			<th>状态 :</th>
			<td>
				<label><input type="radio" name="status" class="radio_style" value="1" {if condition="$info.status eq 1"} checked="checked"{/if}> &nbsp;启用&nbsp;&nbsp;&nbsp;</label>
				<label><input type="radio" name="status" class="radio_style" value="0" {if condition="$info.status eq 0"} checked="checked"{/if}> &nbsp;禁用</label>
			</td>
		</tr>
	</table>
	<input type="hidden" name="id" value="{$info.id}" />
	</form>
</div>

<script>
$(function(){

	
	$('#info_form').ajaxForm({success:complate,dataType:'json'});
	function complate(result){
		if(result.status == 1){
			$.dialog.get(result.dialog).close();
			$.yingloujie.tip({content:result.msg});
			setTimeout(function(){window.location.reload();},1000);
		} else {
			$.yingloujie.tip({content:result.msg, icon:'alert'});
		}
	}
});
</script>